package com.shfl.servermanage.logic.mapper;

import com.shfl.servermanage.logic.bean.SysServerBt;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysServerBtMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysServerBt record);

    int insertSelective(SysServerBt record);

    SysServerBt selectByPrimaryKey(Long id);

    SysServerBt selectByPrimaryKeyWithLogicalDelete(@Param("id") Long id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByPrimaryKeySelective(SysServerBt record);

    int updateByPrimaryKey(SysServerBt record);

    int batchInsert(@Param("list") java.util.List<SysServerBt> list);

    int batchInsertSelective(@Param("list") java.util.List<SysServerBt> list, @Param("selective") SysServerBt.Column... selective);

    int logicalDeleteByPrimaryKey(Long id);

    List<SysServerBt> findListByMap(Map<String, Object> objectMap);
}